home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Ubuntu 9.10 PL
/
karmelkowy-koliberek-desktop-9.10-i386-PL.iso
/
casper
/
filesystem.squashfs
/
usr
/
lib
/
tasksel
/
tests
/
lang
< prev
next >
Wrap
Text File
|
2009-10-22
|
494b
|
20 lines
#!/bin/sh
# Hide all language tasks, and select any that match the current LANG
# setting for installation.
if [ "$NEW_INSTALL" ]; then
set -e
shift 1
baselang=${LANG%%_*}
fulllang=${LANG%%.*}
for locale in $@; do
if ( [ -n "$LANG" ] && [ "$LANG" = "$locale" ] ) || \
( [ -n "$fulllang" ] && [ "$fulllang" = "$locale" ] ) || \
( [ -n "$baselang" ] && [ "$baselang" = "$locale" ] ); then
exit 0 # install without display
fi
done
exit 1 # do not display
else
exit 1
fi